namespace KinonekoSoftware.CodariaDB.Documents.Timelines
{
    public partial class TimelineSystem
    {
        private readonly TimeSystem _system;

        public TimelineSystem(TimeSystem system)
        {
            _system          = system ?? throw new ArgumentNullException(nameof(system));
            _mapOfEpoch      = new Dictionary<string, EpochNode>();
            _mapOfStoryPoint = new Dictionary<string, StoryPointNode>();

            EpochCollection              = new ObservableList<Epoch>();
            EpochLayerList               = new ObservableCollection<Epoch>();
            PlotCollection               = new ObservableCollection<Plot>();
            DetachedStoryPointCollection = new ObservableCollection<StoryPoint>();
            StoryPointCollection         = new ObservableList<StoryPoint>();
            StoryPointAncestorList       = new ObservableCollection<StoryPoint>();
            StoryPointLayerList          = new ObservableCollection<StoryPoint>();
        }
    }
}